package zunyi09;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public  abstract class Person {
    public String name;
    public Integer age;

    public abstract void eat();

    public void  sleep(){
        System.out.println("人都是要睡觉的");
    }

}
